import listBuilder from "@/comps/list/listBuilder";

/*
lb.add("sn","单号",80)
lb.add("item","物品",80)
lb.add("type","入库类型",80)
lb.add("isCanceled","是否冲红",80)
lb.add("numIn","入库数量",80)
lb.add("numInReal","入库数量",80)
lb.add("numOut","出库数量",80)
lb.add("numLeft","剩余数量",80)
lb.add("batchCode","批次号",80)
lb.add("batchPrice","批次价格",80)
lb.add("cost","总价",80)
lb.add("costReal","总价",80)
lb.add("heapCode","堆号",80)
lb.add("pos","库位号",80)
lb.add("supplier","供应商",80)
lb.add("brand","品牌",80)
lb.add("link","Link",80)
lb.add("linkTo","LinkTo",80)
lb.add("note","备注",80)
lb.add("createBy","创建人ID",80)
lb.add("createName","创建人",80)

*/
export default function () {
    let lb = listBuilder()
    lb.addAction(80).setAlignCenter()

    lb.add("sn","单号",180).setCopy()
    lb.add("item","物品",180).setListIsObject("text")
    lb.add("type","入库类型",120).setListIsObjectName()
    lb.add("department","入库部门",120).setListIsObjectName()
    lb.add("isCanceled","是否冲红",80).setListIsSwitch()
    lb.add("numIn","入库数量",120)
    lb.add("numInReal","入库数量",120)
    lb.add("numOut","出库数量",120)
    lb.add("numLeft","剩余数量",120)
    lb.add("batchCode","批次号",180)
    lb.add("batchPrice","批次价格",180)
    lb.add("cost","总价",120)
    lb.add("costReal","总价",120)
    lb.add("heapCode","堆号",180)
    lb.add("pos","库位号",180)
    lb.add("supplier","供应商",180)
    lb.add("brand","品牌",280)
    lb.add("note","备注",280)
    lb.add("createBy","创建人ID",180)
    lb.add("createName","创建人",180)
    lb.add("id","#",80)

    return lb.headers
}